import request from '@/utils/request'

export function cleanerAllList() {

  //request对象发送axios请求
  return request({
    url: '/cleaner/list',
    method: 'get',
  })
}


export function searchCleaner(data) {

  //request对象发送axios请求
  return request({
    url: '/cleaner/conditionList',
    method: 'get',
    params:data
  })
}

export function searchOneCleaner(data) {

  //request对象发送axios请求
  return request({
    url: '/cleaner/searchOne',
    method: 'get',
    params:data
  })
}

export function editOneCleanerInfo(data1) {

  //request对象发送axios请求
  return request({
    url: '/cleaner/editOneCleanerInfo',
    method: 'post',
    data:data1
  })
}

export function addOneCleanerInfo(data) {

  //request对象发送axios请求
  return request({
    url: '/cleaner/addOneCleanerInfo',
    method: 'post',
    data:data
  })
}
